package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.Equipment;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface EquipmentService extends BaseService<Equipment> {

    Result<Equipment> editAndSync(Equipment equipment);

    @Transactional
    Result<String> batchSyncEqpBasics(List<String> eqpCodeList);
}
